package com.aaa.sys.mapper;

import com.aaa.sys.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜单表 Mapper 接口
 * </p>
 *
 * @author ykq
 * @since 2020-11-25
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> queryPermissionByUserId(Long userId);

    List<Menu> findMenuTreeByUserId(Long userId);


    List<Integer> queryExpandMenuKey(Long roleId);
}
